[cDAC] implement DacDbi GetTypeLayout/GetArrayLayout#127877
Conversation
Agent-Logs-Url: https://github.com/dotnet/runtime/sessions/14d41630-8260-4774-af08-174c95098f28 Co-authored-by: rcj1 <77995559+rcj1@users.noreply.github.com>
|
Tagging subscribers to this area: @steveisok, @tommcdon, @dotnet/dotnet-diag |
🤖 Copilot Code Review — PR #127877Note This review was generated by Copilot (Claude Opus 4.6) with additional analysis from Claude Haiku 4.5 and GPT-5.3-Codex. Holistic AssessmentMotivation: This PR implements Approach: The approach is sound. The cDAC implementations closely mirror the native DAC logic, with thorough DEBUG cross-validation assertions that will catch discrepancies at runtime. The removals are clean — each removed feature is reverted to legacy fallback, ensuring no functionality loss. Summary: Detailed Findings✅ GetTypeLayout Implementation — CorrectThe managed cDAC implementation in
✅ GetArrayLayout String Case — Correct
|
Description
Implements cDAC-side
DacDbitype/array layout APIs and adds RuntimeTypeSystem classification APIs required for this.